package com.service;

import com.qy.util.TimeUtil;

import io.netty.channel.ChannelHandlerContext;

public class ChannelBean {

	private ChannelHandlerContext channel;
	
	private long timeSecond;

	public ChannelBean( ChannelHandlerContext channel) {
		this.channel = channel;
		this.timeSecond = TimeUtil.getSysCurSeconds();
	}
	
	public ChannelHandlerContext getChannel() {
		return channel;
	}

	public void setChannel(ChannelHandlerContext channel) {
		this.channel = channel;
	}

	public long getTimeSecond() {
		return timeSecond;
	}

	public void setTimeSecond(long timeSecond) {
		this.timeSecond = timeSecond;
	}
	
}
